Alibabacloud.com offers a wide variety of articles about c system call return value, easily find your c system call return value information here online.
References:"Linux kernel design and implementation"0 SummarySystem call process for Linux:Levels such as the following:User program------>C library (i.e. API): INT 0x80----->system_call-------> System invoke Service Routines--------> Kernel
Reference:"Linux kernel design and implementation"0 SummarySystem call process for Linux:The hierarchy is as follows:User program------>C library (i.e. API): INT 0x80----->system_call-------> System invoke Service Routines--------> Kernel
Chapter 5
5.5 Linux system call
5.5.1 System Call Interface
System calls (commonly referred to as syscils) are the only interface for interaction between linux kernels and upper-layer applications. See Figure 5-4. According to the description of
implementation of system call under Linux
Introduction to architecture and system invocation of Unix/linux operating system
what is an operating system and system call
The operating system is a virtual machine that is abstracted from the hardware,
function of the return value
The return value of the main function is used to describe the exit state of the program. If 0 is returned, the program exits normally, and the meaning of the other numbers is determined by the system. Typically, the
System Call (2): System Call
(5) implementation of system calls
1: Implement system calls
Implementing a system call is to consider its purpose. Each system call has a definite purpose, in Linux, multi-purpose system calls are not recommended (a
System Call (1), System Call (
(1): communication with the kernel
The system call adds an intermediate layer between the user space and the hardware device. This layer has three main functions:
1. It provides a hardware abstract interface for the
1. What is system call
In the Linux World, we often encounter the term system call. The so-called system call is a series of functions provided by the kernel with very powerful functions. These system calls are implemented in the kernel, and then
Fifth Chapter system call5.1 communicating with the kernel1. The system call adds a middle layer between the user space process and the hardware device, which has a primary role of three:(1) Provides a hardware abstraction interface for user space(2)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.